<?php

class City
{
    private $cities;
    public function __construct()
    {
        $this->cities = array ( 1 => 'Актау', 
                                2 => 'Жанаозен', 
                                3 => 'Форт-Шевченко', 
                                4 => 'Курык');
    }
    public function getName($id)
    {
        return $this->cities[$id];
    }
    public function getAll()
    {
        return $this->cities;
    }
    
}